<html>
    <head>
        <title>Bake a wish : map</title>
           
        <script type="text/javascript" src="js/jquery-1.5.1.min.js"></script>
        <script type="text/javascript" src="js/jquery.printElement.min.js"></script>
        <script>
            $(document).ready(function() {
                $("#mapPrints").click(function() {
                    printElem({
                        pageTitle: 'Bake a wish : map',
                        leaveOpen:true,
			printMode:'iframe'
                    });
                });
            });
            
            function printElem(options){
                $('#mapPrint').printElement(options);
            }
        </script>

    </head>

    
    <body>
        <div id="mapPrint" style="text-align:center;">
           <img src="images/map.jpg" alt="contact"  width="659" height="715" />
        </div>
        <div style="text-align:center;margin-top:20px;">
            <button id="mapPrints">Print</button>
        </div>
    </body>
</html>